import axios from 'axios'
const service = axios.create({
  baseURL: process.env.MUSIC_API2,
  withCredentials: true, // send cookies when cross-domain requests
  timeout: 5000 // request timeout
})

service.interceptors.response.use(
  response => {
    return response.data
  }
)
export default service
